package com.demo.common.support.model;

import java.util.Collection;

/**
 * 针对多数据列{@link java.util.Collection}返回对象封装
 *
 * @author molong
 * @since 2024/5/24
 */
public class MultipleDataResponse<T> extends BaseResponse<T> {

    private Collection<T> data;

    public Collection<T> getData() {
        return data;
    }

    public void setData(Collection<T> data) {
        this.data = data;
    }

    @Override
    public boolean isCollect() {
        return true;
    }
}